package com.yyg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

//分支导航
@Data
@TableName(value = "submenu")
public class SubMenu {
    @TableId(type = IdType.AUTO)
    private int id;
    private String title;
    private String path;
    private int mid;
    public SubMenu() {
    }

    public SubMenu(String title, String path,int mid) {
        this.title = title;
        this.path = path;
        this.mid=mid;
    }
}
